. 2022-03-24 09:58:45.726 WinSCP Version 5.19.6 (Build 12002 2022-02-22) (OS 10.0.17763 - Windows Server 2019 Standard)
. 2022-03-24 09:58:45.726 Configuration: nul
. 2022-03-24 09:58:45.726 Log level: Normal
. 2022-03-24 09:58:45.726 Local account: SRHT\*REDACT
. 2022-03-24 09:58:45.726 Working directory: REDACT\WinSCP-5.19.6-Automation
. 2022-03-24 09:58:45.726 Process ID: 18752
. 2022-03-24 09:58:45.772 Ancestor processes: powershell_ise, explorer, ...
. 2022-03-24 09:58:45.772 Command-line: "REDACT\WinSCP-5.19.6-Automation\winscp.exe" /xmllog="REDACT\AppData\Local\Temp\3\wscp1AA0.026819C8.tmp" /xmlgroups /xmllogrequired /nointeractiveinput /stdout /stdin /dotnet=5.19.6  /ini=nul /log="C:\temp\Premier IT Testing\WinSCP-5.19.6-Automation\winscp.log"  /console /consoleinstance=_6816_59594344_119
. 2022-03-24 09:58:45.772 Time zone: Current: GMT+0, Standard: GMT+0 (GMT Standard Time), DST: GMT+1 (GMT Daylight Time), DST Start: 27/03/2022, DST End: 30/10/2022
. 2022-03-24 09:58:45.772 Login time: 24 March 2022 09:58:45
. 2022-03-24 09:58:45.772 --------------------------------------------------------------------------
. 2022-03-24 09:58:45.772 Script: Retrospectively logging previous script records:
> 2022-03-24 09:58:45.772 Script: option batch on
< 2022-03-24 09:58:45.772 Script: batch           on        
< 2022-03-24 09:58:45.772 Script: reconnecttime   120       
> 2022-03-24 09:58:45.772 Script: option confirm off
< 2022-03-24 09:58:45.772 Script: confirm         off       
> 2022-03-24 09:58:45.772 Script: option reconnecttime 120
< 2022-03-24 09:58:45.772 Script: reconnecttime   120       
> 2022-03-24 09:58:45.772 Script: open "sftp://REDACT.host" -hostkey="ssh-rsa 2048 REDACT=" -privatekey="REDACT\my-ssh-key2.ppk" -timeout=15 -rawsettings FSProtocol="2" SendBuf="0" SshSimple="0" ProxyPort="1"
. 2022-03-24 09:58:45.772 --------------------------------------------------------------------------
. 2022-03-24 09:58:45.772 Session name: REDACT.host (Ad-Hoc site)
. 2022-03-24 09:58:45.772 Host name: sftp.REDACT.host (Port: 22)
. 2022-03-24 09:58:45.772 User name: REDACT (Password: No, Key file: Yes, Passphrase: No)
. 2022-03-24 09:58:45.772 Tunnel: No
. 2022-03-24 09:58:45.772 Transfer Protocol: SFTP
. 2022-03-24 09:58:45.772 Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
. 2022-03-24 09:58:45.772 Disable Nagle: No
. 2022-03-24 09:58:45.772 Proxy: None
. 2022-03-24 09:58:45.772 Send buffer: 0
. 2022-03-24 09:58:45.772 SSH protocol version: 2; Compression: No
. 2022-03-24 09:58:45.772 Bypass authentication: No
. 2022-03-24 09:58:45.772 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: Yes
. 2022-03-24 09:58:45.772 GSSAPI: KEX: No; Forwarding: No; Libs: gssapi32,sspi,custom; Custom: 
. 2022-03-24 09:58:45.772 Ciphers: aes,chacha20,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2022-03-24 09:58:45.772 KEX: ecdh,dh-gex-sha1,dh-group14-sha1,rsa,WARN,dh-group1-sha1
. 2022-03-24 09:58:45.772 SSH Bugs: Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto
. 2022-03-24 09:58:45.772 Simple channel: No
. 2022-03-24 09:58:45.772 Return code variable: Autodetect; Lookup user groups: Auto
. 2022-03-24 09:58:45.772 Shell: default
. 2022-03-24 09:58:45.772 EOL: LF, UTF: Auto
. 2022-03-24 09:58:45.772 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes; Follow directory symlinks: No
. 2022-03-24 09:58:45.772 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No; Exit code 1 is error: No
. 2022-03-24 09:58:45.772 SFTP Bugs: Auto,Auto
. 2022-03-24 09:58:45.772 SFTP Server: default
. 2022-03-24 09:58:45.772 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2022-03-24 09:58:45.772 Cache directory changes: Yes, Permanent: Yes
. 2022-03-24 09:58:45.772 Recycle bin: Delete to: No, Overwritten to: No, Bin path: 
. 2022-03-24 09:58:45.772 DST mode: Unix
. 2022-03-24 09:58:45.772 --------------------------------------------------------------------------
< 2022-03-24 09:58:45.772 Script: Searching for host...
. 2022-03-24 09:58:45.772 Looking up host "REDACT.host" for SSH connection
. 2022-03-24 09:58:45.835 Connecting to REDACT port 22
< 2022-03-24 09:58:45.851 Script: Connecting to host...
. 2022-03-24 09:58:45.851 We claim version: SSH-2.0-WinSCP_release_5.19.6
. 2022-03-24 09:58:45.882 Remote version: SSH-2.0-AWS_SFTP_1.0
. 2022-03-24 09:58:45.882 Using SSH protocol version 2
. 2022-03-24 09:58:45.882 Have a known host key of type rsa2
. 2022-03-24 09:58:45.897 Doing ECDH key exchange with curve Curve25519 and hash SHA-256
. 2022-03-24 09:58:45.991 Host key fingerprint is:
. 2022-03-24 09:58:45.991 ssh-rsa 2048 REDACT=
< 2022-03-24 09:58:45.991 Script: Authenticating...
. 2022-03-24 09:58:45.991 Host key matches configured key fingerprint
. 2022-03-24 09:58:45.991 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] outbound encryption
. 2022-03-24 09:58:45.991 Initialised HMAC-SHA-256 outbound MAC algorithm
. 2022-03-24 09:58:45.991 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] inbound encryption
. 2022-03-24 09:58:45.991 Initialised HMAC-SHA-256 inbound MAC algorithm
. 2022-03-24 09:58:46.007 Reading key file "REDACT\my-ssh-key2.ppk"
! 2022-03-24 09:58:46.007 Using username "REDACT".
< 2022-03-24 09:58:46.007 Script: Using username "REDACT".
. 2022-03-24 09:58:46.054 Server offered these authentication methods: publickey
. 2022-03-24 09:58:46.054 Offered public key
. 2022-03-24 09:58:46.116 Offer of public key accepted
! 2022-03-24 09:58:46.116 Authenticating with public key "imported-openssh-key"
< 2022-03-24 09:58:46.116 Script: Authenticating with public key "imported-openssh-key".
. 2022-03-24 09:58:46.335 Sent public key signature
. 2022-03-24 09:58:46.351 Access granted
. 2022-03-24 09:58:46.351 Opening main session channel
. 2022-03-24 09:58:46.382 Remote debug message: SFTP: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
. 2022-03-24 09:58:46.382 Remote debug message: SFTP: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
. 2022-03-24 09:58:46.444 Opened main channel
. 2022-03-24 09:58:46.460 Started a shell/command
< 2022-03-24 09:58:46.460 Script: Authenticated.
. 2022-03-24 09:58:46.460 --------------------------------------------------------------------------
. 2022-03-24 09:58:46.460 Using SFTP protocol.
. 2022-03-24 09:58:46.460 Doing startup conversation with host.
< 2022-03-24 09:58:46.460 Script: Starting the session...
> 2022-03-24 09:58:46.460 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2022-03-24 09:58:47.913 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2022-03-24 09:58:47.913 SFTP version 3 negotiated.
. 2022-03-24 09:58:47.913 We believe the server has signed timestamps bug
. 2022-03-24 09:58:47.913 We will use UTF-8 strings until server sends an invalid UTF-8 string as with SFTP version 3 and older UTF-8 strings are not mandatory
. 2022-03-24 09:58:47.913 Getting current directory name.
. 2022-03-24 09:58:47.913 Getting real path for '.'
> 2022-03-24 09:58:47.913 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2022-03-24 09:58:47.929 Type: SSH_FXP_NAME, Size: 22, Number: 16
. 2022-03-24 09:58:47.929 Real path is '/'
. 2022-03-24 09:58:47.929 Startup conversation with host finished.
< 2022-03-24 09:58:47.929 Script: Session started.
< 2022-03-24 09:58:47.929 Script: Active session: [1] REDACT.host
> 2022-03-24 09:58:48.179 Script: pwd

. 2022-03-24 10:15:06.264 WinSCP Version 5.19.6 (Build 12002 2022-02-22) (OS 10.0.17763 - Windows Server 2019 Standard)
. 2022-03-24 10:15:06.264 Configuration: nul
. 2022-03-24 10:15:06.264 Log level: Normal
. 2022-03-24 10:15:06.264 Local account: REDACT
. 2022-03-24 10:15:06.264 Working directory: REDACT\WinSCP-5.19.6-Automation
. 2022-03-24 10:15:06.264 Process ID: 17984
. 2022-03-24 10:15:06.327 Ancestor processes: powershell_ise, explorer, ...
. 2022-03-24 10:15:06.327 Command-line: "REDACT\WinSCP-5.19.6-Automation\winscp.exe" /xmllog="REDACT\wscp1AA0.01008862.tmp" /xmlgroups /xmllogrequired /nointeractiveinput /stdout /stdin /dotnet=5.19.6  /ini=nul /log="REDACT\WinSCP-5.19.6-Automation\winscp.log"  /console /consoleinstance=_6816_18627698_976
. 2022-03-24 10:15:06.327 Time zone: Current: GMT+0, Standard: GMT+0 (GMT Standard Time), DST: GMT+1 (GMT Daylight Time), DST Start: 27/03/2022, DST End: 30/10/2022
. 2022-03-24 10:15:06.327 Login time: 24 March 2022 10:15:06
. 2022-03-24 10:15:06.327 --------------------------------------------------------------------------
. 2022-03-24 10:15:06.327 Script: Retrospectively logging previous script records:
> 2022-03-24 10:15:06.327 Script: option batch on
< 2022-03-24 10:15:06.327 Script: batch           on        
< 2022-03-24 10:15:06.327 Script: reconnecttime   120       
> 2022-03-24 10:15:06.327 Script: option confirm off
< 2022-03-24 10:15:06.327 Script: confirm         off       
> 2022-03-24 10:15:06.327 Script: option reconnecttime 120
< 2022-03-24 10:15:06.327 Script: reconnecttime   120       
> 2022-03-24 10:15:06.327 Script: open "sftp://REDACT.host" -hostkey="ssh-rsa 2048 REDACT=" -privatekey="REDACT\my-ssh-key2.ppk" -timeout=15 -rawsettings FSProtocol="2" SendBuf="0" SshSimple="0" ProxyPort="1"
. 2022-03-24 10:15:06.327 --------------------------------------------------------------------------
. 2022-03-24 10:15:06.327 Session name: REDACT.host (Ad-Hoc site)
. 2022-03-24 10:15:06.327 Host name: REDACT.host (Port: 22)
. 2022-03-24 10:15:06.327 User name: REDACT(Password: No, Key file: Yes, Passphrase: No)
. 2022-03-24 10:15:06.327 Tunnel: No
. 2022-03-24 10:15:06.327 Transfer Protocol: SFTP
. 2022-03-24 10:15:06.327 Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
. 2022-03-24 10:15:06.327 Disable Nagle: No
. 2022-03-24 10:15:06.327 Proxy: None
. 2022-03-24 10:15:06.327 Send buffer: 0
. 2022-03-24 10:15:06.327 SSH protocol version: 2; Compression: No
. 2022-03-24 10:15:06.327 Bypass authentication: No
. 2022-03-24 10:15:06.327 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: Yes
. 2022-03-24 10:15:06.327 GSSAPI: KEX: No; Forwarding: No; Libs: gssapi32,sspi,custom; Custom: 
. 2022-03-24 10:15:06.327 Ciphers: aes,chacha20,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2022-03-24 10:15:06.327 KEX: ecdh,dh-gex-sha1,dh-group14-sha1,rsa,WARN,dh-group1-sha1
. 2022-03-24 10:15:06.327 SSH Bugs: Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto
. 2022-03-24 10:15:06.327 Simple channel: No
. 2022-03-24 10:15:06.327 Return code variable: Autodetect; Lookup user groups: Auto
. 2022-03-24 10:15:06.327 Shell: default
. 2022-03-24 10:15:06.327 EOL: LF, UTF: Auto
. 2022-03-24 10:15:06.327 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes; Follow directory symlinks: No
. 2022-03-24 10:15:06.327 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No; Exit code 1 is error: No
. 2022-03-24 10:15:06.327 SFTP Bugs: Auto,Auto
. 2022-03-24 10:15:06.327 SFTP Server: default
. 2022-03-24 10:15:06.327 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2022-03-24 10:15:06.327 Cache directory changes: Yes, Permanent: Yes
. 2022-03-24 10:15:06.327 Recycle bin: Delete to: No, Overwritten to: No, Bin path: 
. 2022-03-24 10:15:06.327 DST mode: Unix
. 2022-03-24 10:15:06.327 --------------------------------------------------------------------------
< 2022-03-24 10:15:06.327 Script: Searching for host...
. 2022-03-24 10:15:06.327 Looking up host "REDACT.host" for SSH connection
. 2022-03-24 10:15:06.389 Connecting to 18.REDACT port 22
< 2022-03-24 10:15:06.405 Script: Connecting to host...
. 2022-03-24 10:15:06.421 We claim version: SSH-2.0-WinSCP_release_5.19.6
. 2022-03-24 10:15:06.436 Remote version: SSH-2.0-AWS_SFTP_1.0
. 2022-03-24 10:15:06.436 Using SSH protocol version 2
. 2022-03-24 10:15:06.436 Have a known host key of type rsa2
. 2022-03-24 10:15:06.452 Doing ECDH key exchange with curve Curve25519 and hash SHA-256
. 2022-03-24 10:15:06.546 Host key fingerprint is:
. 2022-03-24 10:15:06.546 ssh-rsa 2048 06:7e:33:8b:54:63:18:4a:41:19:af:a5:34:2f:29:53 ws3S4lUtTh+Tv6MDVQSCVkLNWW7lxKBdmIlW1jxxdqo=
< 2022-03-24 10:15:06.546 Script: Authenticating...
. 2022-03-24 10:15:06.546 Host key matches configured key fingerprint
. 2022-03-24 10:15:06.546 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] outbound encryption
. 2022-03-24 10:15:06.546 Initialised HMAC-SHA-256 outbound MAC algorithm
. 2022-03-24 10:15:06.546 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] inbound encryption
. 2022-03-24 10:15:06.546 Initialised HMAC-SHA-256 inbound MAC algorithm
. 2022-03-24 10:15:06.561 Reading key file "REDACT\my-ssh-key2.ppk"
! 2022-03-24 10:15:06.577 Using username "REDACT".
< 2022-03-24 10:15:06.577 Script: Using username "REDACT".
. 2022-03-24 10:15:06.608 Server offered these authentication methods: publickey
. 2022-03-24 10:15:06.608 Offered public key
. 2022-03-24 10:15:06.673 Offer of public key accepted
! 2022-03-24 10:15:06.673 Authenticating with public key "imported-openssh-key"
< 2022-03-24 10:15:06.673 Script: Authenticating with public key "imported-openssh-key".
. 2022-03-24 10:15:06.936 Sent public key signature
. 2022-03-24 10:15:06.968 Access granted
. 2022-03-24 10:15:06.968 Opening main session channel
. 2022-03-24 10:15:06.983 Remote debug message: SFTP: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
. 2022-03-24 10:15:06.983 Remote debug message: SFTP: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
. 2022-03-24 10:15:07.061 Opened main channel
. 2022-03-24 10:15:07.077 Started a shell/command
< 2022-03-24 10:15:07.077 Script: Authenticated.
. 2022-03-24 10:15:07.077 --------------------------------------------------------------------------
. 2022-03-24 10:15:07.077 Using SFTP protocol.
. 2022-03-24 10:15:07.077 Doing startup conversation with host.
< 2022-03-24 10:15:07.077 Script: Starting the session...
> 2022-03-24 10:15:07.077 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2022-03-24 10:15:08.514 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2022-03-24 10:15:08.514 SFTP version 3 negotiated.
. 2022-03-24 10:15:08.514 We believe the server has signed timestamps bug
. 2022-03-24 10:15:08.514 We will use UTF-8 strings until server sends an invalid UTF-8 string as with SFTP version 3 and older UTF-8 strings are not mandatory
. 2022-03-24 10:15:08.514 Getting current directory name.
. 2022-03-24 10:15:08.514 Getting real path for '.'
> 2022-03-24 10:15:08.514 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2022-03-24 10:15:08.530 Type: SSH_FXP_NAME, Size: 22, Number: 16
. 2022-03-24 10:15:08.530 Real path is '/'
. 2022-03-24 10:15:08.530 Startup conversation with host finished.
< 2022-03-24 10:15:08.530 Script: Session started.
< 2022-03-24 10:15:08.530 Script: Active session: [1] REDACT.host
> 2022-03-24 10:15:08.686 Script: pwd
< 2022-03-24 10:15:08.686 Script: /
> 2022-03-24 10:15:08.750 Script: put -delete -nopermissions -preservetime -transfer="binary" -- "REDACT\testusers_20220214174602.csv" "/"
. 2022-03-24 10:15:08.750 Copying 1 files/directories to remote directory "/" - total size: 870,404
. 2022-03-24 10:15:08.750   PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask: 
. 2022-03-24 10:15:08.750   TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; EncryptNewFiles: Yes; ExcludeHiddenFiles: No; ExcludeEmptyDirectories: No; InclM: ; ResumeL: 0
. 2022-03-24 10:15:08.750   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2022-03-24 10:15:08.750 File: 'REDACT\testusers_20220214174602.csv' [2022-02-15T11:00:28.177Z] [870404]
. 2022-03-24 10:15:08.750 Copying "REDACT\testusers_20220214174602.csv" to remote directory started.
. 2022-03-24 10:15:08.750 Binary transfer mode selected.
. 2022-03-24 10:15:08.750 Checking existence of file.
> 2022-03-24 10:15:08.750 Type: SSH_FXP_LSTAT, Size: 38, Number: 263
< 2022-03-24 10:15:08.905 Type: SSH_FXP_STATUS, Size: 82, Number: 263
< 2022-03-24 10:15:08.905 Status code: 2
. 2022-03-24 10:15:08.905 Checking existence of partially transferred file.
> 2022-03-24 10:15:08.905 Type: SSH_FXP_LSTAT, Size: 47, Number: 519
< 2022-03-24 10:15:08.968 Type: SSH_FXP_ATTRS, Size: 29, Number: 519
. 2022-03-24 10:15:08.968 Resuming file transfer.
. 2022-03-24 10:15:08.968 Opening remote file.
> 2022-03-24 10:15:08.968 Type: SSH_FXP_OPEN, Size: 55, Number: 771
< 2022-03-24 10:15:09.014 Type: SSH_FXP_HANDLE, Size: 10, Number: 771
> 2022-03-24 10:15:09.014 Type: SSH_FXP_WRITE, Size: 32758, Number: 1286
. 2022-03-24 10:15:24.077 Waiting for dispatching send buffer timed out, asking user what to do.
. 2022-03-24 10:15:24.077 Asking user:
. 2022-03-24 10:15:24.077 **Host is not communicating for 15 seconds.
. 2022-03-24 10:15:24.077 
. 2022-03-24 10:15:24.077 Wait for another 15 seconds?** ()
< 2022-03-24 10:15:24.077 Script: Host is not communicating for more than 15 seconds.
< 2022-03-24 10:15:24.077 Still waiting...
< 2022-03-24 10:15:24.077 Note: If the problem repeats, try turning off 'Optimize connection buffer size'.
< 2022-03-24 10:15:24.077 Warning: Aborting this operation will close connection!
. 2022-03-24 10:16:25.499 Answer: Abort
. 2022-03-24 10:16:25.499 Attempt to close connection due to fatal exception:
* 2022-03-24 10:16:25.499 **Terminated by user.**
. 2022-03-24 10:16:25.499 Closing connection.
. 2022-03-24 10:16:25.499 Sending special code: 1
. 2022-03-24 10:16:25.499 Network error: Software caused connection abort
. 2022-03-24 10:16:25.499 Ignoring an error from the server while closing: Network error: Software caused connection abort
. 2022-03-24 10:16:25.499 Connection was lost, asking what to do.
. 2022-03-24 10:16:25.499 Asking user:
. 2022-03-24 10:16:25.499 **Connection has been unexpectedly closed.** Server sent command exit status 128. ()
< 2022-03-24 10:16:25.499 Script: Connection has been unexpectedly closed. Server sent command exit status 128.
